using System;
using System.Collections;
using System.Text;

namespace cuberga.Workflow
{
    class AndOutput: Process {
        private ArrayList _linksToFollowers = new ArrayList();

        public AndOutput(): base(null){
            
        }

        public override void AddLink(AbstractLink newLink)
        {
            _linksToFollowers.Add(newLink);
        }

        protected override void SendMarkerToFollowers()
        {
            foreach (AbstractLink currLink in _linksToFollowers)
            {
                currLink.PropagateMarker();
            }
        }

      
    }
}
